﻿using System.Data;

namespace msBsc.SvRef
{
    public class SysConst 
    {
        public static string WeixinToken
        {
            get
            {
                return "2ff617b44662a0d8990effd93228b50f";// msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<string>("_WEIXIN_TOKEN");
            }
        }

        public static string WeixinAppID
        {
            get
            {
                return "wx642c2689226a8887";// msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<string>("_WEIXIN_APPID");
            }
        }
        public static string WeixinEncodingAESKey
        {
            get
            {
                return "C2eSG0OOrTqraZWjrlULdK72WWIsDvDi2polNsyvbVW";// msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<string>("_WEIXIN_ENC_AESKEY");
            }
        }


        ///// <summary>
        ///// 积分商城消费1积分等于多少RMB
        ///// </summary>
        //public const decimal decScorePrice = 0.05M;
        ///// <summary>
        ///// 推广商1积分等于多少RMB
        ///// </summary>
        //public const decimal decPromotionScorePrice = 0.01M;
        ///// <summary>
        ///// 商城支付宝账户
        ///// </summary>
        //public const string strAlipay_partner = "2088511831699252";
        //public const string strAlipay_key = "rdp1198j4z25opg2gchc5bi0s2o3tybq";
        //public const string strAlipay_email = "3024939353@qq.com";

        public static string strAlipay_partner
        {
            get
            {
                return msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<string>("_ALIPAY_PARTNER");
            }
        }
        public static string strAlipay_key
        {
            get
            {
                return msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<string>("_ALIPAY_KEY");
            }
        }
        public static string strAlipay_email
        {
            get
            {
                return msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<string>("_ALIPAY_MAIL");
            }
        }

        public static decimal decScoreUsePrice()
        {
            return msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<decimal>("_SCORE_USE_PRICE");
        }

        public static decimal decScoreSalesPrice()
        {
            return msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<decimal>("_SCORE_SALES_PRICE");
        }

        public static decimal decPromotionScorePrice()
        {
            return msBsc.AppLogic.Cfg.SystemSet.oSystemSet.getSysSetVal<decimal>("_SCORE_PROMOTION_PRICE");
        }


    }
}
